home *** CD-ROM | disk | FTP | other *** search
- on hChangeCursor pCursorType
- global gCursorStatus
- if pCursorType <> gCursorStatus then
- case pCursorType of
- "watch":
- cursor(4)
- "blank":
- cursor(200)
- "arrow":
- cursor(-1)
- otherwise:
- cursor([the number of member pCursorType, the number of member (pCursorType & "Mask")])
- end case
- set gCursorStatus to pCursorType
- end if
- end
-
- on hMakeSound pWhichSound, pWhichSoundChannel
- if the sampleSize of member pWhichSound = 0 then
- unloadMember(pWhichSound)
- end if
- puppetSound(pWhichSoundChannel, pWhichSound)
- end
-
- on hCleanupSprites
- repeat with n = 1 to 48
- puppetSprite(n, 0)
- set the visible of sprite n to 1
- end repeat
- end
-
- on hClearGlobals
- global gCursorStatus, gDefaultSoundLevel
- set tCursorStatus to gCursorStatus
- set tDefaultSoundLevel to gDefaultSoundLevel
- clearGlobals()
- set gCursorStatus to tCursorStatus
- set gDefaultSoundLevel to tDefaultSoundLevel
- end
-